FROM openjdk:8u332-jdk-slim
ADD ./target/sync-config-1.0.0-SNAPSHOT.jar /root/sync-config/app.jar
#端口
EXPOSE 8082
#设置启动命令
ENTRYPOINT ["nohup","java","-jar","/root/sync-config/app.jar","&"]